<template>
    <StElDynamicForm :submit-props="{method: 'post',url:PortraitItemFeaturesRelUrl.itemAssignItemFeatures,label: '保存'}"
                     :datas="$stStringTools.replaceb(PortraitItemFeaturesRelUrl.checkedItemFeaturesIds,{itemId: $route.query.itemId})"
                     :datas-format="datasFormat"
                     :options="PortraitItemFeaturesRelFormOptions" :origin-prop="{inline: true,labelWidth: '100px'}" :helper-form="{itemId: $route.query.itemId}">

    </StElDynamicForm>
</template>

<script>
    import PortraitItemFeaturesRelMixin from '../PortraitItemFeaturesRelMixin.js'

    export default {
        name: "ItemAssignItemFeaturesRel",
        mixins: [PortraitItemFeaturesRelMixin],
        data() {
            return {}
        },
        methods: {
            datasFormat(data) {
                return {
                    checkedItemFeaturesIds: data
                }
            }
        }
    }
</script>

<style scoped>

</style>